<template>
    <h2> Demo</h2>
    <h2>{{ count }}</h2>
    <button @click="AddCount">Add</button>

</template>

<script setup lang="ts">
import {ref,onMounted} from 'vue'
//创建响应式数据
const count  = ref(2000000000);

function AddCount()  {
    count.value++;
} 

onMounted(() => {
    console.log('ajdklasjdklsa');
}) 


</script>
